package com.yf.service.impl;

import com.yf.mapper.OrderMapper;
import com.yf.model.Order;
import com.yf.service.IOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderServiceImpl implements IOrderService {
    @Autowired
    private OrderMapper orderMapper;
    @Override
    public List<Order> listOrder() {
        return orderMapper.list();
    }
}
